<html>
<head>
<link rel='stylesheet' href='../../js/sh/SyntaxHighlighter.css' type='text/css' />
<script src='../../js/sh/shCore.js'></script>
<script src='../../js/sh/shBrushJava.js'></script>
<style>
* {
font-family:Courier New,monospace;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  font-size: 11px;
}
.dp-highlighter {
  white-space: nowrap;
  overflow: visible;
  width: 600px;
  font-size: 11px;
  font-family:Courier New,monospace;
}
</style>
</head>
<body>
<textarea name='code' class='java:nogutter' rows='15' cols='120'>
package com.smartgwt.sample.showcase.client.data;

import com.smartgwt.client.widgets.grid.ListGridRecord;

public class EmployeeRecord extends ListGridRecord {

    public EmployeeRecord() {
    }

    public EmployeeRecord(String employee, String division, String department) {
        setEmployee(employee);
        setDivision(division);
        setDepartment(department);
    }

    public String getEmployee() {
        return getAttribute("employee");
    }

    public void setEmployee(String employee) {
        setAttribute("employee", employee);
    }

    public String getDivision() {
        return getAttribute("division");
    }

    public void setDivision(String division) {
        setAttribute("division", division);
    }

    public String getDepartment() {
        return getAttribute("department");
    }

    public void setDepartment(String department) {
        setAttribute("department", department);
    }
}
</textarea>
<script class='javascript'>
dp.SyntaxHighlighter.HighlightAll("code");
</script>
</body>
</html>
